Style enhancements, downcase username to ensure it is always valid in login spec, update deps