It's really important that authentication is unit tested as it's a really important part of this (and most) application.