Aren't the logins stored in the Master database? Wouldn't backing up the Master database give you what you need?
For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]