Change access code flash messages for access code form

It closes #774.