Fixed bug where missing image broke layout when using accounts-password

The previous code assumed there would be a profile image from facebook, twitter, etc. so when using the basic package it would break the navigation layout.