Implemented Apache Shiro for container managed logins.