Added login process. TODO: bind it to Spring Security.
Fixed a ClassNotFoundException when a timeout happens with the C3PO
connection pool.