Authentication styling and script clean up

- Removed duplicated code from authentication styling rules and scripts.
- Added shared styling and scripts to authentication views.