Ports auth decorators to work with both Django and webpy