Added fix to skip authentication when no password is set