Fixed the return codes for empty passwords and username match failures.