Check user credentials at startup.