Don't build credentials if user name is empty