access: mailcookie port using SQLAlchemy

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>