Handle null username and/or passwords