Convert mock admin to use post/redirect/get loop

Protects the page from duplicate submissions and also makes the admin page
handlers for focused on single tasks.

http://en.wikipedia.org/wiki/Post/Redirect/Get
Copied from other code. I think there has something to do with the number of params that server expects.